﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Clinica/MasterPageAdmision.master" AutoEventWireup="true" CodeFile="wfCita.aspx.cs" Inherits="Ventas_wfCita" %>

<%@ Register assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPanel" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxEditors.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxTabControl" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxClasses" tagprefix="dx" %>

<%@ Register assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPopupControl" tagprefix="dx" %>

<%@ Register assembly="DevExpress.ExpressApp.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.ExpressApp.Web.Templates" tagprefix="cc1" %>

<%@ Register assembly="DevExpress.Web.ASPxGridView.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView" tagprefix="dx" %>

<%@ Register assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPopupControl" tagprefix="dx1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style1
        {
            width: 441px;
        }
        .style2
        {
            height: 35px;
        }
        .style5
        {
            width: 276px;
        }
        .style8
        {
        }
        .style9
        {
            height: 25px;
        }
        .style11
        {
            width: 276px;
            height: 25px;
        }
        .style31
        {
            width: 109px;
        }
        .style33
        {
            width: 154px;
        }
        .style34
        {
            height: 25px;
            width: 154px;
        }
        .style35
        {
            height: 35px;
            width: 293px;
        }
        .style39
        {
            height: 17px;
        }
        .style41
        {
            width: 276px;
            height: 17px;
        }
        .style42
        {
            height: 12px;
        }
        .style43
        {
            height: 12px;
            width: 154px;
        }
        .style44
        {
            width: 276px;
            height: 12px;
        }
        .style45
        {
            width: 154px;
            height: 17px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentMenuSecundario" Runat="Server">
    <li><a href="wfAdmisionPacienteListado.aspx" class="">Admisión Paciente</a></li>
    <li><a href="wfCitaListado.aspx" class="active">Cita</a></li>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ModuleTitleContent" Runat="Server">
    Cita
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentEnlacesRapidos" Runat="Server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="MainContent" Runat="Server">
    <ul class="tabs primary">
        <li><a href="wfCitaListado.aspx">Listado de Citas</a></li>
        <li class="active"><a href="wfCita.aspx" class="">Registrar Cita</a></li>
    </ul>
    <h4>Registrar Cita</h4>
    <table width="99%">
        <tr>
            <td>
                <dx:ASPxPanel ID="ASPxPanel1" runat="server" Width="99%">
                    <PanelCollection>
                        <dx:PanelContent ID="PanelContent1" runat="server" SupportsDisabledAttribute="True">
                            <table>
                                <tr>
                                    <td>
                                        &nbsp;</td>
                                    <td colspan="4" align="right">
                                        <dx:ASPxLabel ID="lblNumeroCita" runat="server" Text="Cita Nro : ">
                                        </dx:ASPxLabel>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="style9">
                                        <dx:ASPxButton ID="btnAceptar" runat="server" ClientIDMode="AutoID" 
                                            CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                                            OnClick="ASPxButton1_Click" 
                                            SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Text="Aceptar" 
                                            Width="96px">
                                        </dx:ASPxButton>
                                    </td>
                                    <td class="style34">
                                        <dx:ASPxButton ID="btnCancelar" runat="server" CausesValidation="False" 
                                            ClientIDMode="AutoID" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" 
                                            CssPostfix="PlasticBlue" Height="23px" OnClick="ASPxButton2_Click" 
                                            SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Text="Cancelar" 
                                            Width="111px">
                                        </dx:ASPxButton>
                                    </td>
                                    <td class="style34">
                                        <dx:ASPxButton ID="btnBuscar" runat="server" AutoPostBack="False" 
                                            CausesValidation="False" ClientIDMode="AutoID" 
                                            CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                                            Height="22px" OnClick="btnBuscar_Click" 
                                            SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
                                            style="margin-left: 0px" Text="Buscar" Width="106px">
                                            <ClientSideEvents Click="function(s, e) {
	javascript:url()
}" />
                                        </dx:ASPxButton>
                                    </td>
                                    <td class="style9">
                                        &nbsp;&nbsp;</td>
                                    <td class="style9">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td>
                                        &nbsp;</td>
                                    <td colspan="4">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td class="style39">
                                        <dx:ASPxLabel ID="ASPxLabel6" runat="server" Text="Paciente">
                                        </dx:ASPxLabel>
                                    </td>
                                    <td class="style45">
                                        <dx:ASPxTextBox ID="txtIdPaciente" runat="server" ClientIDMode="AutoID" 
                                            CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                                            SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Width="156px" 
                                            ReadOnly="True" Height="24px">
                                            <ValidationSettings>
                                                <ErrorFrameStyle ImageSpacing="4px">
                                                    <ErrorTextPaddings PaddingLeft="4px" />
                                                </ErrorFrameStyle>
                                            </ValidationSettings>
                                        </dx:ASPxTextBox>
                                    </td>
                                    <td class="style45">
                                        <dx:ASPxButton ID="btnDetalle" runat="server" CausesValidation="False" 
                                            OnClick="btnDetalle_Click1" Text="Mas Detalles..." 
                                            Width="106px" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" 
                                            CssPostfix="PlasticBlue" 
                                            SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css">
                                        </dx:ASPxButton>
                                    </td>
                                    <td class="style41" colspan="2">
                                    <SCRIPT type="text/javascript">

                                        function url() {
                                            //window.showModalDialog(...
                                            open('wfAdmisionBuscarPaciente.aspx', 'NewWindow', 'top=0,left=0,width=1150,height=350,status=yes,resizable=yes,scrollbars=yes');
                                        }
                                    </script> 

                                        <cc1:XafUpdatePanel ID="XafUpdatePanel1" runat="server">
                                        </cc1:XafUpdatePanel>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="style42">
                                    </td>
                                    <td class="style43">
                                        <%--<asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server" 
                                            ControlToValidate="txtIdPaciente" EnableTheming="False" 
                                            ErrorMessage="RequiredFieldValidator" ForeColor="Red">CampoRequerido!!!</asp:RequiredFieldValidator>--%>
                                    </td>
                                    <td class="style43">
                                    </td>
                                    <td class="style44" colspan="2">
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <dx:ASPxLabel ID="ASPxLabel47" runat="server" Text="Apellidos y Nombres">
                                        </dx:ASPxLabel>
                                    </td>
                                    <td class="style8" colspan="4">
                                        <dx:ASPxTextBox ID="txtNombreCompleto" runat="server" ClientIDMode="AutoID" 
                                            CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                                            ReadOnly="True" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
                                            Width="534px">
                                            <ValidationSettings>
                                                <ErrorFrameStyle ImageSpacing="4px">
                                                    <ErrorTextPaddings PaddingLeft="4px" />
                                                </ErrorFrameStyle>
                                            </ValidationSettings>
                                        </dx:ASPxTextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <dx:ASPxLabel ID="ASPxLabel49" runat="server" Text="Tipo Doc.">
                                        </dx:ASPxLabel>
                                    </td>
                                    <td class="style33" colspan="2">
                                        <dx:ASPxTextBox ID="txtTipoDoc" runat="server" ClientIDMode="AutoID" 
                                            CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                                            ReadOnly="True" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
                                            Width="158px">
                                            <ValidationSettings>
                                                <ErrorFrameStyle ImageSpacing="4px">
                                                    <ErrorTextPaddings PaddingLeft="4px" />
                                                </ErrorFrameStyle>
                                            </ValidationSettings>
                                        </dx:ASPxTextBox>
                                    </td>
                                    <td class="style5" colspan="2">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td class="style9">
                                        <dx:ASPxLabel ID="ASPxLabel48" runat="server" Text="Numero Doc.">
                                        </dx:ASPxLabel>
                                    </td>
                                    <td class="style34" colspan="2">
                                        <dx:ASPxTextBox ID="txtNumeroDoc" runat="server" ClientIDMode="AutoID" 
                                            CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                                            ReadOnly="True" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
                                            Width="158px">
                                            <ValidationSettings>
                                                <ErrorFrameStyle ImageSpacing="4px">
                                                    <ErrorTextPaddings PaddingLeft="4px" />
                                                </ErrorFrameStyle>
                                            </ValidationSettings>
                                        </dx:ASPxTextBox>
                                    </td>
                                    <td class="style11" colspan="2">
                                    </td>
                                </tr>
                            </table>
                        </dx:PanelContent>
                    </PanelCollection>
                </dx:ASPxPanel>
            </td>
        </tr>
    </table>
    <table>
    <tr><td class="style31">
        <dx:ASPxLabel ID="ASPxLabel51" runat="server" Text="Tipo de Atencion">
        </dx:ASPxLabel>
        </td><td class="style1">
            <dx:ASPxComboBox ID="cboTipoAtencion" runat="server" ClientIDMode="AutoID" 
                CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" TextField="TIPA_DESCRIPCION" 
                ValueField="TIPA_ID_TIPO" AutoPostBack="False" 
                onselectedindexchanged="cboTipoAtencion_SelectedIndexChanged">
                <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Editors/Loading.gif">
                </LoadingPanelImage>
                <ValidationSettings>
                    <ErrorFrameStyle ImageSpacing="4px">
                        <ErrorTextPaddings PaddingLeft="4px" />
                    </ErrorFrameStyle>
                </ValidationSettings>
            </dx:ASPxComboBox>
            <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
                SelectMethod="listar" TypeName="Negocio.Clases_BL.clsGen_Tipo_AtencionBL">
            </asp:ObjectDataSource>
            <%--<asp:RequiredFieldValidator ID="RequiredFieldValidator14" runat="server" 
                ControlToValidate="cboTipoAtencion" ErrorMessage="RequiredFieldValidator" 
                ForeColor="Red">CampoRequerido!!!</asp:RequiredFieldValidator>--%>
        </td></tr>
    <tr><td class="style31">
        <dx:ASPxLabel ID="ASPxLabel52" runat="server" Text="Promoción">
        </dx:ASPxLabel>
        </td><td class="style1">
                                        <dx:ASPxTextBox runat="server" Width="158px" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
                CssPostfix="PlasticBlue" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" 
                ClientIDMode="AutoID" ID="txtIdPromocion">
<ValidationSettings>
<ErrorFrameStyle ImageSpacing="4px">
<ErrorTextPaddings PaddingLeft="4px"></ErrorTextPaddings>
</ErrorFrameStyle>
</ValidationSettings>
</dx:ASPxTextBox>

        </td></tr>
    <tr><td class="style31">
        <dx:ASPxLabel ID="ASPxLabel2" runat="server" Text="Especialidad">
        </dx:ASPxLabel>
        </td><td class="style1">
            <dx:ASPxComboBox ID="cboEspecialidad" runat="server" ClientIDMode="AutoID" 
                CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" TextField="ESP_NOMBRE" 
                ValueField="ESP_ID_ESPECIALIDAD" AutoPostBack="True" 
                onselectedindexchanged="cboEspecialidad_SelectedIndexChanged">
                <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Editors/Loading.gif">
                </LoadingPanelImage>
                <ValidationSettings>
                    <ErrorFrameStyle ImageSpacing="4px">
                        <ErrorTextPaddings PaddingLeft="4px" />
                    </ErrorFrameStyle>
                </ValidationSettings>
            </dx:ASPxComboBox>
            <%--<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ControlToValidate="cboEspecialidad" ErrorMessage="RequiredFieldValidator" 
                ForeColor="Red">CampoRequerido!!!</asp:RequiredFieldValidator>--%>
            <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" 
                SelectMethod="listar" TypeName="Negocio.Clases_BL.clsEspecialidadBL" 
                onselecting="ObjectDataSource2_Selecting">
            </asp:ObjectDataSource>
        </td></tr>
    <tr><td class="style31">
        <dx:ASPxLabel ID="ASPxLabel3" runat="server" Text="Médico">
        </dx:ASPxLabel>
        </td><td class="style1">
            <dx:ASPxComboBox ID="cboMedico" runat="server" ClientIDMode="AutoID" 
                CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" TextField="Nombre" 
                ValueField="MED_ID_MEDICO" 
                AutoPostBack="True">
                <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Editors/Loading.gif">
                </LoadingPanelImage>
                <ValidationSettings>
                    <ErrorFrameStyle ImageSpacing="4px">
                        <ErrorTextPaddings PaddingLeft="4px" />
                    </ErrorFrameStyle>
                </ValidationSettings>
            </dx:ASPxComboBox>
            <%--<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                ControlToValidate="cboMedico" ErrorMessage="RequiredFieldValidator" 
                ForeColor="Red">CampoRequerido!!!</asp:RequiredFieldValidator>--%>
            <asp:ObjectDataSource ID="ObjectDataSource3" runat="server" 
                SelectMethod="listar_Medico_Filtro" 
                TypeName="Negocio.Clases_BL.clsMedicoBL" 
                onselecting="ObjectDataSource3_Selecting">
                <SelectParameters>
                    <asp:Parameter DefaultValue="0" Name="ID_Especialidad" Type="Int32" />
                </SelectParameters>
            </asp:ObjectDataSource>
        </td></tr>
    <tr><td class="style31">
        <dx:ASPxLabel ID="ASPxLabel4" runat="server" Text="Fecha de Cita">
        </dx:ASPxLabel>
        </td><td class="style1">
                                                <cc1:XafUpdatePanel ID="XafUpdatePanel2" runat="server">
                                                    <dx:ASPxDateEdit runat="server" 
                SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
                CssPostfix="PlasticBlue" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" 
                ClientIDMode="AutoID" ID="dtpFecha" AutoPostBack="True" 
    ondatechanged="dtpFecha_DateChanged">
                                                        <ValidationSettings>
                                                            <ErrorFrameStyle ImageSpacing="4px">
                                                                <ErrorTextPaddings PaddingLeft="4px">
                                                                </ErrorTextPaddings>
                                                            </ErrorFrameStyle>
                                                        </ValidationSettings>
                                                    </dx:ASPxDateEdit>
                                                </cc1:XafUpdatePanel>

        </td></tr>
    </table>
    <table>
        <tr><td>
        <dx:ASPxLabel ID="ASPxLabel50" runat="server" Text="Horario">
        </dx:ASPxLabel>
        </td><td colspan="2">
                <dx:ASPxGridView ID="dgHorario" runat="server" AutoGenerateColumns="False" 
                    ClientIDMode="AutoID" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" 
                    CssPostfix="PlasticBlue" Width="497px" 
                    onselectionchanged="dgHorario_SelectionChanged" 
                    KeyFieldName="PRM_ID_PROGRAMACION" onpageindexchanged="dgHorario_PageIndexChanged" 
                    >
                    <Columns>
                        <dx:GridViewCommandColumn ShowSelectCheckbox="True" VisibleIndex="0">
                        </dx:GridViewCommandColumn>
                        <dx:GridViewDataTextColumn Caption="Turno" FieldName="TUR_DESCRIPCION" 
                            ShowInCustomizationForm="True" VisibleIndex="1">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn Caption="Horario" FieldName="HOR_HORARIO" 
                            ShowInCustomizationForm="True" VisibleIndex="2">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn Caption="Cita" FieldName="Cita" 
                            ShowInCustomizationForm="True" VisibleIndex="3">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn Caption="Id Programacion" 
                            FieldName="PRM_ID_PROGRAMACION" ShowInCustomizationForm="True" VisibleIndex="4">
                        </dx:GridViewDataTextColumn>
                    </Columns>
                    <SettingsBehavior AllowSelectSingleRowOnly="True" AllowFocusedRow="True" 
                        ProcessFocusedRowChangedOnServer="True" 
                        ProcessSelectionChangedOnServer="True" AllowSelectByRowClick="True" />
                    <SettingsPager AlwaysShowPager="True" ShowDefaultImages="False" 
                        NumericButtonCount="12" PageSize="12">
                        <AllButton Text="All">
                        </AllButton>
                        <NextPageButton Text="Next &gt;">
                        </NextPageButton>
                        <PrevPageButton Text="&lt; Prev">
                        </PrevPageButton>
                    </SettingsPager>
                    <Images SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css">
                        <LoadingPanelOnStatusBar Url="~/App_Themes/PlasticBlue/GridView/gvLoadingOnStatusBar.gif">
                        </LoadingPanelOnStatusBar>
                        <LoadingPanel Url="~/App_Themes/PlasticBlue/GridView/Loading.gif">
                        </LoadingPanel>
                    </Images>
                    <ImagesFilterControl>
                        <LoadingPanel Url="~/App_Themes/PlasticBlue/Editors/Loading.gif">
                        </LoadingPanel>
                    </ImagesFilterControl>
                    <Styles CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" 
                        CssPostfix="PlasticBlue">
                        <Header ImageSpacing="10px" SortingImageSpacing="10px">
                        </Header>
                    </Styles>
                    <StylesEditors>
                        <CalendarHeader Spacing="11px">
                        </CalendarHeader>
                        <ProgressBar Height="25px">
                        </ProgressBar>
                    </StylesEditors>
                </dx:ASPxGridView>
        </td></tr>
    <tr><td>
        &nbsp;</td><td colspan="2">
            &nbsp;</td></tr>
    <tr><td>
        <dx:ASPxLabel ID="ASPxLabel46" runat="server" Text="Observaciones">
        </dx:ASPxLabel>
        </td><td colspan="2">
            <dx:ASPxTextBox ID="txtObservacion" runat="server" ClientIDMode="AutoID" 
                CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Width="578px" 
                Height="16px">
                <ValidationSettings>
                    <ErrorFrameStyle ImageSpacing="4px">
                        <ErrorTextPaddings PaddingLeft="4px" />
                    </ErrorFrameStyle>
                </ValidationSettings>
            </dx:ASPxTextBox>
        </td></tr>
    <tr><td class="style2">
        </td><td class="style2">
        </td>
        <td class="style35">
            <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
        </td>
        </tr>
    <tr><td>
        &nbsp;</td><td colspan="2">
          
            <dx:ASPxPopupControl ID="pcMensaje" runat="server"
                CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                Modal="True" PopupHorizontalAlign="WindowCenter" 
                PopupVerticalAlign="WindowCenter" 
                SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Width="420px" 
                AllowDragging="True" AllowResize="True" ClientInstanceName="pcMensaje" 
                DragElement="Window" HeaderText="Mensaje">
                <HeaderImage Url="~/Imagenes/iconError.png">
                </HeaderImage>
                <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
                </LoadingPanelImage>
                <CloseButtonStyle>
                    <Paddings Padding="0px" />
                </CloseButtonStyle>
                <ContentStyle>
                    <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
                </ContentStyle>
                <HeaderStyle>
                <Paddings PaddingBottom="4px" PaddingLeft="10px" PaddingRight="4px" 
                    PaddingTop="4px" />
                </HeaderStyle>


<ContentCollection>
<dx:PopupControlContentControl runat="server" SupportsDisabledAttribute="True">
    <table width="100%">
        <tr>
            <td style="padding:0 0 0 20px;">
                <dx:ASPxLabel ID="lblMensaje" runat="server" /><hr />
            </td>
        </tr>
        <tr>
            <td align="center">
                <dx:ASPxButton ID="ASPxButton1" runat="server" AutoPostBack="False" 
                    ClientIDMode="AutoID" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" 
                    CssPostfix="PlasticBlue" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Text="Aceptar" 
                    Checked="True">
                    <ClientSideEvents Click="function(s, e) {
	pcMensaje.Hide();   
}" />
                    <CheckedStyle BackColor="#000066" Font-Bold="True" Font-Italic="False" 
                        Font-Names="Georgia" Font-Strikeout="False" ForeColor="White">
                    </CheckedStyle>
                    <HoverStyle BackColor="#000099" Font-Bold="True" Font-Names="Georgia" 
                        ForeColor="White">
                    </HoverStyle>
                </dx:ASPxButton>
                
            </td>
        </tr>
    </table>
</dx:PopupControlContentControl>
</ContentCollection>


            </dx:ASPxPopupControl>
          
            <dx:ASPxPopupControl ID="pcDetallePaciente" runat="server" 
                ContentUrl="~/Clinica/wfAdmisionPaciente.aspx" 
                CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                Height="453px" Modal="True" PopupHorizontalAlign="WindowCenter" 
                PopupVerticalAlign="WindowCenter" 
                SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Width="943px">
                <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
                </LoadingPanelImage>
                <CloseButtonStyle>
                    <Paddings Padding="0px" />
                </CloseButtonStyle>
                <ContentStyle>
                    <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
                </ContentStyle>
                <HeaderStyle>
                <Paddings PaddingBottom="4px" PaddingLeft="10px" PaddingRight="4px" 
                    PaddingTop="4px" />
                </HeaderStyle>
                <ContentCollection>
<dx:PopupControlContentControl runat="server" SupportsDisabledAttribute="True"></dx:PopupControlContentControl>
</ContentCollection>
            </dx:ASPxPopupControl>
          
            </td>
            
     </tr>
    </table>
</asp:Content>

